laravel eloquent without relation

49

$books = Book::without('author')->get();
$movies = Movie::whereHas('director', function($q) {
    $q->where('name', 'great');
})->get();

Comments

Submit
0 Comments